Member Function Documentation
| static getCurrentGroup |
( |
) |
[static] |
returns current group
If the system does not support posix_getgid() the current group will be root (0).
- Returns:
- int
| static getCurrentUser |
( |
) |
[static] |
returns current user
If the system does not support posix_getuid() the current user will be root (0).
- Returns:
- int
| static newDirectory |
( |
$ |
name, |
|
|
$ |
permissions = null |
|
) |
| [static] |
returns a new directory with given name
If the name contains slashes, a new directory structure will be created. The returned directory will always be the parent directory of this directory structure.
- Parameters:
-
| string | $name | |
| int | $permissions | optional |
- Returns:
- vfsStreamDirectory
| static newFile |
( |
$ |
name, |
|
|
$ |
permissions = null |
|
) |
| [static] |
returns a new file with given name
- Parameters:
-
| string | $name | |
| int | $permissions | optional |
- Returns:
- vfsStreamFile
| static path |
( |
$ |
url ) |
[static] |
restores the path from the url
- Parameters:
-
- Returns:
- string
| static setup |
( |
$ |
rootDirName = 'root', |
|
|
$ |
permissions = null |
|
) |
| [static] |
| static umask |
( |
$ |
umask = null ) |
[static] |
sets new umask setting and returns previous umask setting
If no value is given only the current umask setting is returned.
- Parameters:
-
- Returns:
- int
- Since:
- 0.8.0
| static url |
( |
$ |
path ) |
[static] |
prepends the scheme to the given URL
- Parameters:
-
- Returns:
- string
Field Documentation
The documentation for this class was generated from the following file:
- /Applications/XAMPP/xamppfiles/lib/php/pear/vfsStream/vfsStream.php